projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7dc6c
)
(name-last-kbd-macro): Handle macros that are vectors.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 29 Jul 1993 03:27:05 +0000
(
03:27
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 29 Jul 1993 03:27:05 +0000
(
03:27
+0000)
lisp/macros.el
patch
|
blob
|
history
diff --git
a/lisp/macros.el
b/lisp/macros.el
index b1da9eb1162d3da7907b130816addea34b7121ab..c2e8b18b4aff455be5a0be709e4039a648960f9c 100644
(file)
--- a/
lisp/macros.el
+++ b/
lisp/macros.el
@@
-41,6
+41,7
@@
Such a \"function\" cannot be called from Lisp, but it is a valid editor command
(error "No keyboard macro defined"))
(and (fboundp symbol)
(not (stringp (symbol-function symbol)))
+ (not (vectorp (symbol-function symbol)))
(error "Function %s is already defined and not a keyboard macro."
symbol))
(fset symbol last-kbd-macro))